Description
Used to specify the symbol for a style in a stylesheet.
Diagram
Overview
|
STYLE
Used to specify the symbol for a style in a stylesheet.
|
catergory required xs:string
The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.).
|
|
name required xs:string
When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts.
|
|
Sequence
|
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
|
|
COMPLEXPOLYGONSYMBOL
Used to symbolize polygon features. Provides additional symbology options beyond SIMPLEPOLYGONSYMBOL.
|
|
GROUPSYMBOL
Used to symbolize features with multiple symbols acting as a single symbol (e.g., a freeway line symbol consists of a group of 3 line symbols).
|
|
RASTERFILLSYMBOL
Symbolizes polygon features using the specified image as a fill symbol.
|
|
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
|
|
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
|
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
catergory | xs:string | required | | | The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.). |
name | xs:string | required | | | When parent is ToolButton:
Custom tool name. Used to reference the tool in scripts. |
Examples
Restrictions
- Only point symbol types can be child elements of this element when the parent is MARKERSTYLES.
- Only line symbol types can be child elements of this element when the parent is LINESTYLES.
- Only polygon symbol types can be child elements of this element when the parent is FILLSTYLES.
Source
<xs:element name="STYLE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType>
<xs:sequence>
<xs:element ref="COMPLEXLINESYMBOL" />
<xs:element ref="COMPLEXPOLYGONSYMBOL" />
<xs:element ref="GROUPSYMBOL" />
<xs:element ref="RASTERFILLSYMBOL" />
<xs:element ref="RASTERMARKERSYMBOL" />
<xs:element ref="SIMPLELINESYMBOL" />
<xs:element ref="SIMPLEMARKERSYMBOL" />
<xs:element ref="SIMPLEPOLYGONSYMBOL" />
<xs:element ref="TEXTSYMBOL" />
<xs:element ref="TRUETYPEMARKERSYMBOL" />
</xs:sequence>
<xs:attribute name="catergory" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>The category for the style (for example, ESRI\Default, ESRI\Dashed, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute ref="name" use="required" />
</xs:complexType>
</xs:element>
|
See Also